{extend name="public/world"}
{block name="title"}添加类别{/block}
{block name="style"}
<style type="text/css">
    .layui-form-label {width:110px;}
</style>
{/block}
{block name="container"}
<div class="layui-form" lay-filter="layuiadmin-form-useradmin" id="layuiadmin-form-useradmin">
    <div class="layui-card" style="padding: 20px 0 0 0;height:325px;margin-bottom: 10px">
        <div class="layui-form-item">
            <label class="layui-form-label label-required">类别名称</label>
            <div class="layui-input-inline">
                <textarea name="names" placeholder="每一行一个" class="layui-textarea" style="width:200px;height:250px;"></textarea>
            </div>
            <div class="layui-form-mid layui-word-aux"> 多个名称请换行</div>
        </div>
        <div class="layui-form-item layui-hide">
            <input type="button" lay-submit lay-filter="LAY-front-submit" id="LAY-front-submit" value="确认">
        </div>
    </div>
</div>
{/block}
{block name="script"}
<script>
    //JavaScript代码区域
    layui.use('form', function() {
        var $ = layui.$
            ,form = layui.form;
        var index = parent.layer.getFrameIndex(window.name);
        parent.layer.iframeAuto(index);
    });
</script>
{/block}